const ethers = require("ethers");
const path = require("path");
const fs = require("fs");
const abi_string = fs.readFileSync(path.resolve(__dirname, "../bin/contracts_PlasmaTester_sol_PlasmaTester.abi"), 'UTF-8');
const contractAddress = "0x2A8BadcC3d128d814AaEA66a89a6ba3e101D1761";
const contract = new ethers.Contract(contractAddress, abi_string);

const parsed = contract.functions.commitExitBlock

const data = "0x79b2ad7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000a015e5ec0c956605fc8f2b02f963641118f5c1a1f88fade7f33b5a905a1c28bf2700000000000000000000000000000000000000000000000000000000000000130000020000000000000000000000000000000000000000000000000000000000"

